package org.iut.gepromis.domain;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.Email;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import org.springframework.roo.addon.entity.RooEntity;

@RooJavaBean
@RooToString
@RooEntity()
public class Aldea {
	@NotNull
	@Size(min = 5, max = 40)
	private String codigoAldea;

	@NotNull
	@Size(min = 5, max = 50)
	private String nombreAldea;

	@NotNull
	@Size(min = 10, max = 100)
	private String UbicacionAldea;

	@NotNull
	@Size(min = 3, max = 15)
	private String nombreReducidoAldea;

	@NotNull
	@Email
	private String emailAldea;

	private String nombrePersonaContactoAldea;
	@Email
	private String emailPersonaContactoAldea;

	@NotNull
	@Size(min = 7, max = 15)
	private String telefonoPersonaContactoAldea;

}
